import Controller from "../../../../mvc/Controller";

export default class RemoveViewController extends Controller {

    constructor(cmd) {
        super(cmd);
    }

    execute(data = null, sponsor = null) {
        if (data.name && this.retrieveView(data.name)) {
            this.removeView(data.name);
        }
    }
}